﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CozeDomain.Models;
using CozeDto.AiDtos;
using CozeDto.ConversationDtos;
using CozeDto.ProjectDtos;
using D.UtilCore.Dtos;

namespace CozeDomain.IServices
{
    public interface ICozeAiService
    {
        /// <summary>
        /// 开始新的会话
        /// </summary>
        /// <param name="reqStartConversation"></param>
        /// <returns></returns>
        Task<ApiResult<RepCozeCreeateConversation>> StartConversationAsync(ReqStartConversation reqStartConversation);

        /// <summary>
        /// 接收用户的消息进行处理
        /// </summary>
        /// <param name="message"></param>
        /// <returns></returns>
        Task<ApiResult<RepGetDialogueInfo>> ExecMessageAsync(ReqMessage message);

        /// <summary>
        /// 获取某个会话的消息列表历史
        /// </summary>
        /// <param name="reqMessageList"></param>
        /// <returns></returns>
        Task<ApiResult<RepQueryMessageList>> QueryMessageListAsync(ReqMessageList reqMessageList);
    }
}
